package cn.com.dycc.party_org.team.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import cn.com.dycc.party_org.team.entity.TeamResultEntity;
import cn.com.dycc.party_org.team.param.AddTeamParam;
import cn.com.dycc.party_org.team.param.FindPartyGroupParam;
/**
 * 党组班子业务层接口
 * @author linfa
 *
 */
public interface TeamService {
	
	/**
	 * 增加党组班子 HttpServletRequest request,
	 * @param addTeamParam
	 * @return
	 */
	public String addDeptPartyGroup(HttpServletRequest request,AddTeamParam addTeamParam)throws NotFoundTeamException;
	
	/**
	 * 查询党组班子信息列表
	 * @param request
	 * @param findPartyGroupParam
	 * @return
	 * @throws NotFoundTeamException
	 */
	public List<TeamResultEntity> findPartyGroupList(HttpServletRequest request,FindPartyGroupParam findPartyGroupParam)throws NotFoundTeamException;
	
	/**
	 * 统计党组织班子人员列表
	 * @param request
	 * @param findPartyGroupParam
	 * @return
	 * @throws NotFoundTeamException
	 */
	public String findPartyGroupListCount(HttpServletRequest request,FindPartyGroupParam findPartyGroupParam)throws NotFoundTeamException;
	
	/**
	 * 删除党员班子人员
	 * @param dept_id
	 * @param user_id
	 * @return
	 * @throws NotFoundTeamException
	 */
	public String delPartyGroup(HttpServletRequest request,String dept_id,String user_id)throws NotFoundTeamException;
	
}
